var a = 1

function foo() {
  var b = 2
  console.log(a);
}

foo()



